package com.itheima.service.cargo;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.cargo.FactoryProduct;
import com.itheima.domain.cargo.FactoryProductExample;

public interface FactoryProductService {
    PageInfo findByPage(int pageNum, int pageSize, FactoryProductExample factoryProductExample);

    FactoryProduct findById(String id);

    void save(FactoryProduct factoryProduct);

    void update(FactoryProduct factoryProduct);

    void delete(String id);

    void findAll(FactoryProductExample factoryProductExample);

}
